﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace LevelEditor
{
    public partial class LeverInfo : Form
    {
        public EditorForm form;
        public LeverInfo(EditorForm form)
        {
            InitializeComponent();
            this.form = form;
        }

        private void submitButton_Click(object sender, EventArgs e)
        {
            form.tempLeverEffect = effectBox.Text[0];
            form.tempLeverObjectAffected = int.Parse(objectAffectedBox.Text);
            this.Close();
        }
    }
}
